package gao.xiaolei.copyEntity;

import gao.xiaolei.entity.RunLogBase;
import gao.xiaolei.entity.TestRunLog;
import lombok.Data;

import javax.persistence.Entity;

@Entity
@Data
public class TestRunLogCopy extends RunLogBase {

    public TestRunLogCopy(TestRunLog testRunLog) {
        super(testRunLog.getId(), testRunLog.getTestRunId(), testRunLog.getHost(), testRunLog.getStatus(), testRunLog.getDuration(), testRunLog.getBrowserVersion(), testRunLog.getOs(), testRunLog.getCreateDate());
    }

    public TestRunLogCopy() {
    }
}
